package com.peas.platform.module.icims.budget.adjust.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.BudgetNewYearRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.po.BudgetNewYearPo;
import com.peas.platform.module.icims.budget.adjust.domain.BudgetNewYearDomain;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewYearDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetNewYearDomainImpl extends BaseDomainImpl<BudgetNewYearDto, BudgetNewYearPo> implements BudgetNewYearDomain {

    @Resource
    private BudgetNewYearRepository budgetNewYearRepository;

    @Override
    public BaseRepository<BudgetNewYearPo> getMapper() {
        return budgetNewYearRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetNewYearPo>> getRepositoryClass() {
        return BudgetNewYearRepository.class;
    }

}
